Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(network): apply fill and radius props to circle element in DefaultNode #859

Merged
merged 2 commits into from
Oct 8, 2020

Conversation

tombarton
Copy link
Contributor

Bug Fix

Apply the r and fill props to the circle svg element. Please feel free to close if this isn't the direction the library was planning to go, but it seems like one might wish to use the DefaultNode but simply change the radius and colour, especially as it was already being defaulted to a value.

@tombarton tombarton changed the title fix(network): apply fill and radius props to circle element fix(network): apply fill and radius props to circle element in DefaultNode Oct 8, 2020
@coveralls
Copy link

coveralls commented Oct 8, 2020

Pull Request Test Coverage Report for Build 295805817

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 57.448%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/visx-network/src/DefaultNode.tsx 0 1 0.0%
Totals Coverage Status
Change from base Build 134: 0.0%
Covered Lines: 1285
Relevant Lines: 2172

💛 - Coveralls

Copy link
Collaborator

@williaster williaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix @tombarton! 🙏 I think this must have just been an oversight.

@williaster williaster merged commit 926e498 into airbnb:master Oct 8, 2020
@tombarton tombarton deleted the fix/network-default-node-fill branch October 9, 2020 11:09
@williaster williaster added this to the 1.1.0 milestone Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants